import { Router } from "express";
import UserController from "@/controllers/UserController";
const router = Router();
// import authVertify from "@/middlewares/auth";

// 注册用户
router.post("/create", UserController.createUser);
// 获取用户列表
router.get("/getList", UserController.getUserList);
// 更新用户信息
router.put("/update", UserController.updateUser);
// 删除用户
router.delete("/delete", UserController.deleteUser);
// 用户登录操作
// router.post("/login", UserController.userLogin);
// 获取用户信息
router.get("/userInfos", UserController.getUserById);
// hello
export default router;
